
<a href="?page=defaultlayout">&lt;&lt;back</a>
<div class="block">
<div class="block-title">
<h3>Sett Layout <?php

include "../g-template/".$row_admin['template']."/config/layout.php";
if($_GET['idmenu']<>'pl')
echo $layout[$_GET['idmenu']];
else echo "Default Layout For Plugin"
 ?></h3>
<hr>
</div>
<div class="content-text clearfix">
<div class="row">
<div class="col-md-4">
  <?php 
		  $a=1;
		  $b=1;
		  $c=1; 
		  $d=1;
		  if($_GET['idmenu']<>'pl')
		  $jml_kontena=$jk_layout[$_GET['idmenu']];
		  else 
		  $jml_kontena=$layoutplugin;  
		  for($j=1;$j<=$jml_kontena;$j++){
			?>
            <div class="content-text clearfix">
<div class="block">

<?php echo $a++ ?>
<!-- Button trigger modal -->
<button data-toggle="modal" data-target="#aaa<?php echo $c++ ?>" class="btn btn-default">
  <i class="fa fa-wrench"></i>  Setting / View
</button>
<!-- Modal -->
<div class="modal fade" id="aaa<?php echo $d++ ?>" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title" id="myModalLabel">Konten Page</h4>
      </div>
      <div class="modal-body">
        <iframe src="page/plugin_review.php?id_set=<?php echo 'defaultlayout'.$_GET['idmenu'] ?>&amp;kolomke=<?php echo $b++ ?>" frameborder="0" height="400" width="550"></iframe>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
      </div>
    </div>
  </div>
</div>

<p>&nbsp;</p>

</div></div>
            <?php
		  }
		  ?>
</div>
<div class="col-md-8">
<img src="../g-template/<?php echo $row_admin['template'] ?>/config/img/layout<?php echo $_GET['idmenu'] ?>.jpg" class="img-thumbnail">
</div>
</div>


